package com.ikas.autumn.iec104.common.baseEntity;

public class IdName<I, N> {
    private I id;
    private N name;

    public static <I, N> IdName<I, N> of(I id, N name) {
        return new IdName<>(id, name);
    }

    public I getId() {
        return id;
    }

    public void setId(I id) {
        this.id = id;
    }

    public N getName() {
        return name;
    }

    public void setName(N name) {
        this.name = name;
    }

    public IdName() {

    }

    public IdName(I id, N name) {
        this.id = id;
        this.name = name;
    }
}
